/**     
* @Title: UserService.java   
* @Package me.security.example.service   
* @Description: TODO   
* @author xaoyaoyao
* @date 2017年8月23日 下午4:30:24
*/
package me.security.example.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import me.security.example.dao.UserDao;
import me.security.example.entity.User;

/**
 * @ClassName: UserService
 * @Description: TODO
 * @author xaoyaoyao
 * @date 2017年8月23日 下午4:30:24
 * 
 */
@Service
public class UserService {

	@Autowired
	private UserDao userDao;

	public User getById(Integer id) {
		User user = userDao.getById(id);
		return user;
	}
}